/**
 * Created by Mark_ren on 2016/11/28.
 * 苟富贵,無相忘
 */
var express = require('express');
var router = express.Router();
var dicController = require("../../api/v2.0/admin/dictionary_admin_controller.js");

router.post('/addindustry', dicController.addForhangye);
router.post('/', dicController.create);
router.get('/industry', dicController.listForhangye);
router.get('/:types', dicController.listByType);
router.delete('/:ID', dicController.deleteByID);
router.put('/:ID', dicController.update);


module.exports = router;